package com.bw.home.model.api

import com.bw.home.model.entity.SimpleVideoEntity
import com.bw.net.entity.BaseRespEntity
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @author:created by hahajing
 * 时间：2024/4/24 0024
 * 企鹅号:444511958
 * 描述:
 */
interface SimpleVideoApi {
    @GET("videosimple/getSimpleVideoByChannelId")
    suspend fun getSimpleVideoData(@Query("channelId") channelId:String,@Query("page") page:Int,@Query("pagesize") pagesize:Int):BaseRespEntity<List<SimpleVideoEntity>>

    @GET("videosimple/getSimpleVideoByKeyword")
    suspend fun getSimpleVideoByKeyword(@Query("keyword") keyword:String,@Query("page") page:Int,@Query("pagesize") pagesize:Int):BaseRespEntity<List<SimpleVideoEntity>>

    @GET("videosimple/getRecommendSimpleVideo")
    suspend fun getRecommendSimpleVideo(@Query("page") page:Int,@Query("pagesize") pagesize:Int):BaseRespEntity<List<SimpleVideoEntity>>
}